package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 角色-菜单
 * @TableName sys_role_menu
 */
@TableName(value ="sys_role_menu")
@Data
public class RoleMenu implements Serializable {
    /**
     * 角色编号
     */
    @TableId(value = "role_id")
    private String role_id;

    /**
     * 菜单编号
     */
    private String menu_id;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}